@include b(checkin-holiday-calendar){
  @include e('header') {
    display: flex;
    justify-content: space-between;
    height: 36px;
    margin-bottom: 20px;

    .ivu-input {
      height: 36px;
      line-height: 36px;

      &:focus,
      &:hover {
        border-color: getCssVar(color, primary);
      }
    }
  }
  @include e('week-header') {
    display: flex;
    width: 100%;
  }
  @include e('legend') {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 2px 3px;
    @include m('work-day') {
      border-top: 2px solid getCssVar(color, primary);
    }
    @include m('rest-day') {
      border-top: 2px solid #f57231;
    }
  }
  @include e('content') {
    border-bottom: 1px solid #eaeaea;
  }

  @include e('weekday') {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    height: 40px;
    color: #666;
    background-color: #f7f8fa;
    border-top: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;

    &:first-child {
      border-left: 1px solid #eaeaea;
    }
  }
  @include e('weekgroup') {
    display: flex;
    width: 100%;
  }
  @include e('week') {
    flex: 1;
    height: 60px;
    padding: 10px 0;
    text-align: center;
    border-right: 1px solid #eaeaea;

    &:first-child {
      border-left: 1px solid #eaeaea;
    }
    @include m('cell') {
      height: 20px;
      line-height: 20px;
    }
    @include m('holiday-name') {
      font-size: 12px;
      color: #f57231;
    }
    @include when('work') {
      background-color: rgb(61 125 219 / 10%);
      border-top: 3px solid getCssVar(color, primary);
    }
    @include when('holiday') {
      background-color: rgb(245 114 49 / 10%);
      border-top-color: #f57231;
    }
  }
}